<!--%import("filter/insert_denied_ip.xml")-->
<!--%import("filter/delete_denied_ip.xml")-->

<!--#include("header.html")-->

<!-- xml js filter를 이용하기 위한 데이터 전달용 form -->
<form id="fo_denied_ip" action="./" method="get">
<input type="hidden" name="ipaddress" value="" />
</form>

<!-- 수동 추가 -->
<form action="./" method="get" onsubmit="return procFilter(this, insert_denied_ip)">
    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->denied_ip}</div></th>
        <td>
            <input type="text" name="ipaddress" value="" class="inputTypeText" />
            <p>{$lang->about_denied_ip}</p>
        </td>
    </tr>
    <tr>
        <th colspan="2" class="button">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
        </th>
    </tr>
    </table>
</form>

<!-- 목록 -->
<table cellspacing="0" class="rowTable">
<caption>Total{count($ip_list)}</caption>
<thead>
    <tr>
        <th scope="col"><div>{$lang->no}</div></th>
        <th scope="col"><div>{$lang->ipaddress}</div></th>
        <th scope="col"><div>{$lang->regdate}</div></th>
        <th scope="col"><div>{$lang->cmd_delete}</div></th>
    </tr>
</thead>
<tbody>
    <!--@foreach($ip_list as $no => $val)-->
    <tr class="row{$cycle_idx}">
        <td>{count($ip_list)-$no}</td>
        <td class="wide">{$val->ipaddress}</td>
        <td>{zdate($val->regdate,"Y-m-d")}</td>
        <td><a href="#" onclick="doDeleteDeniedIP('{$val->ipaddress}');return false;" title="{$lang->cmd_delete}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
    </tr>
    <!--@end-->
</tbody>
</table>
